import request from "@/util/httpMock"

/**
 *
 * @returns 获取分类数据
 */
export function getCategoryAPI () {
  return request({
    url: '/home/category/head'
  })
}



export function getSearchAPI (data) {
  return request({
    url: '/home/search',
    method: 'post',
    data
  })
}
